package org.tao.lightningmq.common.enums;

/**
 * @Author lht
 * @date 2025/1/22 - 21:18
 * @description:
 */
public enum TxMessageFlagEnum {
    HALF_MSG(0,"半提交消息"),
    REMAIN_HALF_ACK(1,"剩余半条ack消息");

    int code;
    String desc;

    TxMessageFlagEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
